[INFO] cloning repository https://github.com/maxiwu13133/Multiplayer-Snake
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxiwu13133/Multiplayer-Snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxiwu13133%2FMultiplayer-Snake", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxiwu13133%2FMultiplayer-Snake'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ec2e9df58188d3b03eaaef9ecaa6469c9f55192
[INFO] checking maxiwu13133/Multiplayer-Snake against master#d4be8efc6296bace5b1e165f1b34d3c6da76aa8e for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxiwu13133%2FMultiplayer-Snake" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/maxiwu13133/Multiplayer-Snake on toolchain d4be8efc6296bace5b1e165f1b34d3c6da76aa8e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/maxiwu13133/Multiplayer-Snake
[INFO] finished tweaking git repo https://github.com/maxiwu13133/Multiplayer-Snake
[INFO] tweaked toml for git repo https://github.com/maxiwu13133/Multiplayer-Snake written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/maxiwu13133/Multiplayer-Snake already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1501b6b0bb550bd0e8ea792cb3be7d0dc93e15e06206cce3001b3d52880645c8
[INFO] running `Command { std: "docker" "start" "-a" "1501b6b0bb550bd0e8ea792cb3be7d0dc93e15e06206cce3001b3d52880645c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1501b6b0bb550bd0e8ea792cb3be7d0dc93e15e06206cce3001b3d52880645c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1501b6b0bb550bd0e8ea792cb3be7d0dc93e15e06206cce3001b3d52880645c8", kill_on_drop: false }`
[INFO] [stdout] 1501b6b0bb550bd0e8ea792cb3be7d0dc93e15e06206cce3001b3d52880645c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5616815829edd50fbcc64bf13d4b9893bab78215b282b36c59bd18423b5a5a85
[INFO] running `Command { std: "docker" "start" "-a" "5616815829edd50fbcc64bf13d4b9893bab78215b282b36c59bd18423b5a5a85", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.79
[INFO] [stderr]    Compiling bumpalo v3.9.1
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling wasm-bindgen v0.2.79
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]     Checking lib-multiplayer v0.1.0 (/opt/rustwide/workdir/libs/multiplayer)
[INFO] [stderr]     Checking getrandom v0.2.5
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.79
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.79
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.79
[INFO] [stderr]     Checking lib-game v0.1.0 (/opt/rustwide/workdir/libs/game)
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> libs/game/src/lib.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::{RngCore, Rng};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> libs/game/src/lib.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::{RngCore, Rng};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `SpeedModifier` is named the same as one of the variants of the type `item::ItemType`
[INFO] [stdout]   --> libs/game/src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `item::ItemType::SpeedModifier`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `InvincibilityModifier` is named the same as one of the variants of the type `item::ItemType`
[INFO] [stdout]   --> libs/game/src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             InvincibilityModifier => snake.set_is_invincible()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `item::ItemType::InvincibilityModifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> libs/game/src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()),
[INFO] [stdout]    |             ------------- matches any value
[INFO] [stdout] 45 |             InvincibilityModifier => snake.set_is_invincible()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `invincibility`
[INFO] [stdout]   --> libs/game/src/item.rs:19:76
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(item_type: ItemType, x: usize, y: usize, speed_effect: i32, invincibility: bool) -> Item {
[INFO] [stdout]    |                                                                            ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invincibility`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> libs/game/src/lib.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(config: Config, rng: &mut dyn RngCore) -> Self {
[INFO] [stdout]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `SpeedModifier`
[INFO] [stdout]   --> libs/game/src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_SpeedModifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `InvincibilityModifier`
[INFO] [stdout]   --> libs/game/src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             InvincibilityModifier => snake.set_is_invincible()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_InvincibilityModifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `SpeedModifier` is named the same as one of the variants of the type `item::ItemType`
[INFO] [stdout]   --> libs/game/src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `item::ItemType::SpeedModifier`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `InvincibilityModifier` is named the same as one of the variants of the type `item::ItemType`
[INFO] [stdout]   --> libs/game/src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             InvincibilityModifier => snake.set_is_invincible()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `item::ItemType::InvincibilityModifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> libs/game/src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()),
[INFO] [stdout]    |             ------------- matches any value
[INFO] [stdout] 45 |             InvincibilityModifier => snake.set_is_invincible()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `invincibility`
[INFO] [stdout]   --> libs/game/src/item.rs:19:76
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(item_type: ItemType, x: usize, y: usize, speed_effect: i32, invincibility: bool) -> Item {
[INFO] [stdout]    |                                                                            ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invincibility`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> libs/game/src/lib.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(config: Config, rng: &mut dyn RngCore) -> Self {
[INFO] [stdout]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `SpeedModifier`
[INFO] [stdout]   --> libs/game/src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_SpeedModifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `InvincibilityModifier`
[INFO] [stdout]   --> libs/game/src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             InvincibilityModifier => snake.set_is_invincible()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_InvincibilityModifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `SpeedModifier` should have a snake case name
[INFO] [stdout]   --> libs/game/src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `speed_modifier`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `InvincibilityModifier` should have a snake case name
[INFO] [stdout]   --> libs/game/src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             InvincibilityModifier => snake.set_is_invincible()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `invincibility_modifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stdout] warning: variable `SpeedModifier` should have a snake case name
[INFO] [stdout]   --> libs/game/src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `speed_modifier`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `InvincibilityModifier` should have a snake case name
[INFO] [stdout]   --> libs/game/src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             InvincibilityModifier => snake.set_is_invincible()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `invincibility_modifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lib-game` (lib) due to 3 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lib-game` (lib test) due to 3 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5616815829edd50fbcc64bf13d4b9893bab78215b282b36c59bd18423b5a5a85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5616815829edd50fbcc64bf13d4b9893bab78215b282b36c59bd18423b5a5a85", kill_on_drop: false }`
[INFO] [stdout] 5616815829edd50fbcc64bf13d4b9893bab78215b282b36c59bd18423b5a5a85
